import { basicIp, newHttpService } from "../../../../../api/http";
import { ITlplTLaneRoughPhotoParamUpdate, ITlplTLaneTarePhotoParamUpdate } from "./type";


// 查询一次抓拍机
export const getTlplTLaneQueryTarePhotoParam = (data: {laneId: string}) => {
    const url = basicIp + '/tlpl/t-lane/queryTarePhotoParam';
    return newHttpService.getData(url, data);
}
// 查询二次抓拍机
export const getTlplTLaneQueryRoughPhotoParam = (data: {laneId: string}) => {
    const url = basicIp + '/tlpl/t-lane/queryRoughPhotoParam';
    return newHttpService.getData(url, data);
}
// 设置一次计量参数
export const postTlplTLaneTarePhotoParamUpdate = (data: ITlplTLaneTarePhotoParamUpdate) => {
    const url = basicIp + '/tlpl/t-lane/tarePhotoParamUpdate';
    return newHttpService.postData(url, data);
}
// 设置二次计量参数
export const postTlplTLaneRoughPhotoParamUpdate = (data: ITlplTLaneRoughPhotoParamUpdate) => {
    const url = basicIp + '/tlpl/t-lane/roughPhotoParamUpdate';
    return newHttpService.postData(url, data);
}